package com.ra.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * Author : 今晚几点睡_Ada
 * Date: 2023/3/27
 * Time: 11:46
 * 注:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RoleDTO {
    @ApiModelProperty(name = "id", value = "用户id", dataType = "Integer")
    private Integer id;
    @ApiModelProperty(name = "roleName", value = "角色名", dataType = "String")
    private String roleName;
    @ApiModelProperty(name = "resourceId", value = "资源列表id", required = true, dataType = "List<Integer>")
    private List<Integer> resourceId;
    @ApiModelProperty(name = "menuId", value = "菜单列表id",  required = true,dataType = "List<Integer>")
    private List<Integer> menuId;
    private LocalDateTime createTime;
    private Integer isDisable;

}
